const mockQuery = {
  code: 'ok',
  message: '',
  data: {
    list: [
      {
        key: '1',
        id: 1,
        type: '产地证',
        companyName: '广州市联邦有限公司',
        mobile: '18688858151',
        email: 'email@163.com',
        total: '1564CNY',
        status: '处理中',
        creator: '刘曾荣',
        creatTime: '2019-06-01',
        updator: '刘亦菲',
        updateTime: '2019-09-04',
      },
      {
        key: '2',
        id: 2,
        type: '商检',
        companyName: '广州市联邦有限公司',
        mobile: '18688858151',
        email: 'email@163.com',
        total: '864CNY',
        status: '处理中',
        creator: '刘曾荣',
        creatTime: '2019-06-05',
        updator: '刘亦菲',
        updateTime: '2019-09-04',
      },
      {
        key: '3',
        id: 3,
        type: '仓库内装',
        companyName: '广州市联邦有限公司',
        mobile: '18688858151',
        email: 'email@163.com',
        total: '864CNY',
        status: '已完成',
        creator: '刘曾荣',
        creatTime: '2019-06-08',
        updator: '刘亦菲',
        updateTime: '2019-09-04',
      },
    ],
    pagination: {
      currency: 1,
      total: 20,
      pageSize: 20,
    },
  },
};

const mockCreate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockUpdate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockRemove = {
  code: 'ok',
  message: '',
  data: {},
};

export default {
  'GET /api/valueAdded/query': mockQuery,
  'POST /api/valueAdded/create': mockCreate,
  'POST /api/valueAdded/update': mockUpdate,
  'POST /api/valueAdded/remove': mockRemove,
};
